package com.usian.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.pojo.Product;
import com.usian.pojo.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<Product> {

    // 根据用户名和密码获得用户信息
    User login(String name, String pwd);

    String getUserRoleByID(Integer id);
}
